package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.annotation.name;
import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PowerRelay implements Trans<PowerRelay, CompleteEntity.PowerRelay> {

    /**
     * 发送卡序号，默认为 0
     */
    private Integer prcIndex;

    /**
     * 多功能卡状态
     */
    @name("functionCardPowerStatusInfo")
    private List<FunctionCardPowerStatusInfo> functionCardPowerStatusInfoList;
}

